package org.outlook.apps.goal.pojo;

import org.outlook.commons.utils.TimeStamp;

public class Goal extends BaseEntry {

	private String title;
	private String description;
	private boolean flag;
	private EventType eventType;
	private int level;
	private int sequence;
	private String startTimeStamp;
	private String effectTimeStamp;
	private String createTimeStamp;
	private String updateTimeStamp;

	public Goal() {
		super();
	}

	public Goal(long id, String title, String description) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
		this.createTimeStamp = TimeStamp.getCurrentTimeStamp();
	}

	public Goal(long id, String title, String description, int level,
			int sequence) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
		this.level = level;
		this.sequence = sequence;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getSequence() {
		return sequence;
	}

	public void setSequence(int sequence) {
		this.sequence = sequence;
	}

	@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		return super.equals(obj);
	}

	@Override
	public String toString() {
		return title;
	}

}
